package com.ruoyi.lab.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生预约信息对象 lab_appoint_message
 * 
 * @author dn
 * @date 2023-12-31
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LabAppointMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约信息id */
    private Long appointId;

    /** 学生学号 */
    @Excel(name = "学生学号")
    private String studentWorkno;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String nickName;

    /** 预约座位id */
    private Long seatId;

    /** 预约座位 */
    @Excel(name = "预约座位")
    private String seatName;

    /** 所属实验室id */
    private Long labId;

    /** 所属实验室 */
    @Excel(name = "所属实验室")
    private String labName;

    /** 开始预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
    @Excel(name = "开始预约时间", width = 30, dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
    private Date startAppointTime;

    /** 结束预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
    @Excel(name = "结束预约时间", width = 30, dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
    private Date endAppointTime;

    /** 预约状态 */
    @Excel(name = "预约状态")
    private String appointStatus;
}
